var timer;
var height;
var position;
var table;
function start() {
	position -= 1;
	jQuery(table).css("top", position + "px");
	if (position + height < 0)
		position = 0;
}

function flow(obj) {
	jQuery(obj).mouseenter(function() {
				clearInterval(timer);
			});
	jQuery(obj).mouseleave(function() {
				timer = setInterval(start, 40);
			});
	table = jQuery(obj);
	height = jQuery(table).height();
	position = 0;
	timer = setInterval(start, 40);
}